package com.blast.manager.adapter

import com.blast.manager.R
import com.blast.manager.bean.ReadyErrorModel
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder

class ReadyAuthErrorAdapter : BaseQuickAdapter<ReadyErrorModel,BaseViewHolder>{

    constructor(data: List<ReadyErrorModel>?) : super(R.layout.item_check_auth_error_layout,data)

    override fun convert(helper: BaseViewHolder, item: ReadyErrorModel?) {
        item?.run {
            helper.setText(R.id.itemNetCheckAuthTitle,title)
            helper.setText(R.id.itemNetCheckAuthSub,des)
            helper.setText(R.id.itemNetCheckAuthWidget,widget)
        }
    }
}